package cn.sumpu.app.guoguojie.dao;

import java.util.List;

import cn.sumpu.app.guoguojie.domain.MemberLearning;
import cn.sumpu.app.guoguojie.domain.MemberWork;
import cn.sumpu.app.guoguojie.exception.AppBusinessException;

public interface ExperDao {

	public List<MemberLearning> getLearningList(String member)
			throws AppBusinessException;

	public MemberLearning getLearningById(String id)
			throws AppBusinessException;

	public void insertLearning(MemberLearning learning)
			throws AppBusinessException;

	public void deleteLearning(String member) throws AppBusinessException;

	public List<MemberWork> getWorkList(String member)
			throws AppBusinessException;

	public void insertWork(MemberWork work) throws AppBusinessException;

	public void deleteWork(String member) throws AppBusinessException;

	public void updateLearning(MemberLearning learning)
			throws AppBusinessException;

	public void deleteLearningById(String id) throws AppBusinessException;

	public void updateWork(MemberWork work) throws AppBusinessException;

	public void deleteWorkById(String id) throws AppBusinessException;

	public MemberWork getWorkById(String id) throws AppBusinessException;
}
